﻿using System.Windows;
using PeoplesJukebox.Web.Enums;

namespace PeoplesJukebox.Web.Pages
{
    /// <summary>
    /// Start page for selecting a track
    /// </summary>
    public partial class SelectPage : PageBase
    {
        /// <summary>
        /// Returns the page type
        /// </summary>
        public override PageType PageType
        {
            get { return PageType.Select; }
        }

        /// <summary>
        /// Default constructor
        /// </summary>
        public SelectPage()
        {
            InitializeComponent();
        }

        private void btnSearch_Click(object sender, RoutedEventArgs e)
        {
            Completed(PageType.Search);
        }

        private void btnList_Click(object sender, RoutedEventArgs e)
        {
            Completed(PageType.List);
        }

        private void btnRandom_Click(object sender, RoutedEventArgs e)
        {
            Completed(PageType.Suggest);
        }
    }
}